package authority.comm;
/**
 * 分页帮助类
 * @author shichenyang
 *
 */
public class Page {
	
	private Integer recordsTotal;//总条数
	private Object data;//显示数据
	private Integer page;//当前页码
	private Integer totalPage;//总页数
	public Page() {
		super();
	}
	public Page(Integer recordsTotal, Object data, Integer page,
			Integer totalPage) {
		super();
		this.recordsTotal = recordsTotal;
		this.data = data;
		this.page = page;
		this.totalPage = totalPage;
	}
	public Integer getRecordsTotal() {
		return recordsTotal;
	}
	public void setRecordsTotal(Integer recordsTotal) {
		this.recordsTotal = recordsTotal;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}
}
